<?php

namespace IDock\Insurance\AICS;

class AICSEnums
{

    public static $TCI = '0330';

    public static $VCI = '0333';

    /**
     * 使用性质
     * @var array $useNatureCode
     */
    public static $useNatureCode = [
        '01' => '336001',//非运营
        '02' => '336002',//运营
    ];

    /**
     * 验车情况
     * @var string[] $carCheckCode
     */
    public static $carCheckCode = [
        'CS1' => '305005001',//未验车
        'CS2' => '305005003',//免验车
        'CS3' => '305005002',//已验车
        'CS4' => ''//待补资料
    ];

    /**
     * 能源类型
     * @var string[] $energyType
     */
    public static $energyType = [
        'E00' => '32773006',//其他
        'E10' => '',//无
        'E01' => '32773001',//燃油
        'E02' => '32773002',//纯电动
        'E03' => '32773003',//燃料电池
        'E04' => '32773004',//插电式混合动力
        'E05' => '32773005',//其他混合动力
    ];

    /**
     * 能源类型
     * @var string[] $energyType
     */
    public static $energyType1 = [
        'E01' => '32773101',//燃油
        'E02' => '32773103',//纯电动
        'E03' => '32773113',//燃料电池
        'E04' => '32773103',//插电式混合动力
        'E05' => '32773113',//其他混合动力
    ];



    /**
     * 关系人证件类型
     * @var array $certificateTypeCode
     */
    public static $certificateTypeCode = [
        '01' => '120001',//居民身份证
        '02' => '120006',//居民户口簿
        '03' => '120004',//护照
        '04' => '120010',//外国人永久居留身份证
        '05' => '120001',//驾驶证
        '50' => '110003',//组织机构代码证
        '51' => '110001',//营业执照
        '52' => '110004',//社会信用代码证
        '99' => '120005',//其他
    ];

    /**
     * 车辆种类
     * @var array $carKindCode
     */
    public static $carKindCode = [
        '100' => '3490010013',//客车
        '200' => '3490010023',//货车
        '210' => '3490010021',//低速载货汽车
        '320' => '3490010026',//挂车
        '500' => '',//特种车
        '600' => ''//特种车挂车
    ];

    /**
     * 险种代码
     * @var array $coverageCode
     */
    public static $coverageCode = [
        'C02001' => '030006', //机动车损失保险
        'C02002' => '030108', //附加车身划痕损失险
        'C02003' => '030151', //附加修理期间费用补偿险
        'C02004' => '030205', //附加车轮单独损失险
        'C02005' => '030206', //附加发动机进水损坏除外特约
        'C02006' => '030213', //附加绝对免赔率特约条款(车损)
        'C02007' => '030117', //附加新增加设备损失险
        'C02008' => '', //附加车上货物责任险
        'C02009' => '', //附加保险人指定修理厂特约险

        'C03001' => '030018', //机动车第三者责任保险
        'C03002' => '030019', //附加法定节假日限额翻倍险
        'C03003' => '030207', //附加精神损害抚慰金责任险(三者)
        'C03004' => '030208', //附加医保外医疗费用责任险(三者)
        'C03005' => '030214', //附加绝对免赔率特约条款(三者)

        'C04001' => '030101', //机动车车上人员责任保险(司机)
        'C04002' => '030217', //附加精神损害抚慰金责任险(司机)
        'C04003' => '030219', //附加医保外医疗费用责任险(司机)'
        'C04004' => '030215', //附加绝对免赔率特约条款(司机)

        'C05001' => '030102', //机动车车上人员责任保险(乘客)
        'C05002' => '030218', //附加精神损害抚慰金责任险(乘客)
        'C05003' => '030220', //附加医保外医疗费用责任险(乘客)'
        'C05004' => '030216', //附加绝对免赔率特约条款(乘客)

        'C08001' => '030209', //道路救援服务特约条款
        'C08002' => '030210', //车辆安全检测特约条款
        'C08003' => '030211', //代为驾驶服务特约条款
        'C08004' => '030212', //代为送检服务特约条款

        //新能源商业险
        'C12001' =>  '030226',//新能源汽车损失保险
        'C12002' => '030108',//附加车身划痕损失险(新能源汽车)
        'C12003' => '030151',//附加修理期间费用补偿险(新能源汽车)
        'C12004' => '030205',//附加车轮单独损失险(新能源汽车)
        'C12006' => '030213',//附加绝对免赔率特约条款(车损)((新能源汽车))
        'C12007' => '030117',//附加新增加设备损失险(新能源汽车)
        'C12008' => '',//附加车上货物责任险(新能源汽车)

        'C13001' => '030227',//新能源汽车第三者责任保险
        'C13002' => '030019',//附加法定节假日限额翻倍险(新能源汽车)
        'C13003' => '030207',//附加精神损害抚慰金责任险(三者)(新能源汽车)
        'C13004' => '030208',//附加医保外医疗费用责任险(三者)(新能源汽车)
        'C13005' => '030214',//附加绝对免赔率特约条款(三者)(新能源汽车)

        'C14001' => '030228',//新能源汽车车上人员责任保险(司机)
        'C14002' => '030217',//附加精神损害抚慰金责任险(司机)(新能源汽车)
        'C14003' => '030219',//附加医保外医疗费用责任险(司机)(新能源汽车)
        'C14004' => '030215',//附加绝对免赔率特约条款(司机)(新能源汽车)

        'C15001' => '030229',//新能源汽车车上人员责任保险(乘客)
        'C15002' => '030218',//附加精神损害抚慰金责任险(乘客)(新能源汽车)
        'C15003' => '030220',//附加医保外医疗费用责任险(乘客)(新能源汽车)
        'C15004' => '030216',//附加绝对免赔率特约条款(乘客)(新能源汽车)

        'C16001' => '',//附加外部电网故障损失险
        'C16002' => '',//附加自用充电桩损失保险
        'C16003' => '',//附加自用充电桩责任保险
        'C16004' => '',
        'C16005' => '',

        'C18001' => '030235', //道路救援服务特约条款
        'C18002' => '030236', //车辆安全检测特约条款
        'C18003' => '030237', //代为驾驶服务特约条款
        'C18004' => '030238', //代为送检服务特约条款
    ];

    /**
     * 车损险绝对免赔额
     * @var string[] $deductionLimit
     */
    public static $deductionLimit = [
        '300' => '375002',
        '500' => '375003',
        '1000' => '375004',
        '2000' => '375005',
    ];

    /**
     * 关系人
     * @var string[] $relationTypeCode
     */
    public static $relationTypeCode = [
        'R1' => '1',
        'R2' => '2',
        'R3' => '3'
    ];

    /**
     * 缴税类型
     * @var string[] $taxTypeCode
     */
    public static $taxTypeCode =[
        'T01' => '349002001',//正常缴税
        'T02' => '349002002',//完税
        'T03' => '349002003',//免税
        'T04' => '349002004',//减税
        'T05' => '',//不缴
        'T06' => '349002011',//不征
        'T07' => '',//拒缴
        'T08' => '',//有争议
    ];

    /**
     * 减免税原因代码
     * @var array $taxReductionReasonCode
     */
    public static $taxReductionReasonCode = [
        'TRR1' => '349006001', //具备减免税证明
        'TRR2' => '349006002', //拖拉机
        'TRR3' => '349006003', //军队、武警专用车
        'TRR4' => '349006004', //警车
        'TRR5' => '349006005', //外国使领馆、国际组织及其人员
        'TRR6' => '349006007', //其他
        'TRR7' => '349006006', //能源减免
    ];

    /**
     * 减免税方案代码
     * @var array $taxReductionCode
     */
    public static $taxReductionCode = [
        'E' => '', //'免税',
        'P' => '3490020042', //'比例减免',
        'A' => '3490020041', //'金额减免'
    ];

    public static $underStats = [
        'U1' => '核保通过',
        'U2' => '退回修改',
        'U3' => '人工核保',
        'U4' => '核保失败',
        'U5' => '已出保单',
        'U6' => '拒保'
    ];


    /**
     * 上传文件类型
     * @var array $uploadFileType
     */
    public static $uploadFileType = [

    ];


    /**
     * 充电桩种类
     * @var string[] $chargePileKind
     */
    public static $chargingPileKind = [
        'PK1' => '1',
        'PK2' => '2',
        'PK9' => '9'
    ];

    /**
     * 充电桩安装地点类型
     * @var string[] $chargingPileAddressType
     */
    public static $chargingPileAddressType = [
        'PA1' => '1',
        'PA2' => '2'
    ];

    /**
     * 充电桩使用年限
     * @var array $chargingPileYearLimit
     */
    public static $chargingPileYearLimit = [
        'PY1' => '1',
        'PY2' => '2',
        'PY3' => '3'
    ];

    /**
     * 车身颜色
     * vehicleColor
     * @var string[] $vehicleColor
     */
    public static $vehicleColor = [
        '001' => 'A',
        '002' => 'B',
        '003' => 'C',
        '004' => 'D',
        '005' => 'E',
        '006' => 'F',
        '007' => 'G',
        '008' => 'H',
        '009' => 'I',
        '010' => 'J',
        '999' => 'Z',
    ];
}
